/*
 * @Author: szx
 * @Date: 2023-03-30 13:39:28
 * @LastEditTime: 2023-03-30 13:39:32
 * @Description: 
 * @FilePath: \learn\fullstackopen\part4\utils\config.js
 */
require('dotenv').config()

const PORT = process.env.PORT
const MONGODB_URI = process.env.NODE_ENV === 'test'
  ? process.env.TEST_MONGODB_URI
  : process.env.MONGODB_URI
module.exports = {
    MONGODB_URI,
    PORT
}